package net.lanelife.casino.caipiao.dto.admin;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import net.lanelife.casino.caipiao.validation.RebatePoint;
import net.lanelife.casino.common.dto.PersistentDTO;

public class RebatePointLevelUpdateDTO extends PersistentDTO<Integer> {

	private static final long serialVersionUID = -4281991825455386012L;

	@NotNull
	private Integer id;
	
	@RebatePoint
	private Double beginRebatePoint;

	@RebatePoint
	private Double endRebatePoint;

	@NotNull
	@Min(0)
	private Integer quotaPrice;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Double getBeginRebatePoint() {
		return beginRebatePoint;
	}

	public void setBeginRebatePoint(Double beginRebatePoint) {
		this.beginRebatePoint = beginRebatePoint;
	}

	public Double getEndRebatePoint() {
		return endRebatePoint;
	}

	public void setEndRebatePoint(Double endRebatePoint) {
		this.endRebatePoint = endRebatePoint;
	}

	public Integer getQuotaPrice() {
		return quotaPrice;
	}

	public void setQuotaPrice(Integer quotaPrice) {
		this.quotaPrice = quotaPrice;
	}

}
